//
//  CCAcitivityModel.h
//  Activity
//
//  Created by its on 15/5/14.
//  Copyright (c) 2015年 coco. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <Mantle/Mantle.h>
#import <ReactiveCocoa/ReactiveCocoa.h>
#import "CCError.h"
@interface CCAcitivityModel : NSObject
- (RACSignal *) getActivity:(NSString *)city;
- (RACSignal *) getHeader:(NSNumber *) order city:(NSString *) city;
- (RACSignal *) getFoot:(NSNumber *) order limit:(NSInteger) limit city:(NSString *) city;
@end


@interface CCAcitivity : MTLModel <MTLJSONSerializing>
@property (nonatomic, copy) NSString *title;
@property (nonatomic, copy) NSString *address;
@property (nonatomic, copy) NSString *time;
@property (nonatomic, copy) NSString *people;
@property (nonatomic, copy) NSString *money;
@property (nonatomic, strong) NSArray *coverImage;// cover image urls
@property (nonatomic, strong) NSString *author;
@property (nonatomic, strong) NSString *headImage;
@property (nonatomic, strong) NSString *objectid;
@property (nonatomic, strong) NSNumber *index;
@property (nonatomic, copy) NSString *authorId;
@end